﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using AvalonDock;
using Microsoft.Practices.Unity;

namespace RanbuUI
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var unity = new UnityContainer();
            var window = unity.Resolve<Shell>();
            window.ViewModel.Documents.Add(new DocumentContent { Title = "Test", Content = "Test" });
            window.Show();
        }
    }
}
